package tools

import (
	"time"
)

func GetTime() int64 {
	return time.Now().Unix()
}

func GetDate(timeInt int64) string {
	return time.Unix(timeInt, 0).Format("2006-01-02 15:04:05")
}
